package com.catmiao.ai.assistant;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import reactor.core.publisher.Flux;

public interface ChatMemoryAssistant {

    /**
     * 带记忆的聊天
     * @param userId
     * @param prompt
     * @return
     */
    String chatWithChatMemory(@MemoryId String userId, @UserMessage String prompt);
}
